* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root {
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --accent-teal: #0D9488;
    --light-bg: #F9FAFB;
    --sidebar-bg: #1E293B;
    --card-bg: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #F8FAFC;
    --text-gray: #64748B;
    --border-color: #E2E8F0;
    --hover-bg: #2D3748;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --video: #8B5CF6;
    --danmaku: #EC4899;
    --review: #F59E0B;
    --comment: #10B981;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    min-height: 100vh;
}

/* 左侧导航栏 */
.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.nav-item {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.nav-item i {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-item:hover,
.nav-item.active {
    background: var(--hover-bg);
    color: var(--text-light);
    border-left: 3px solid var(--secondary-blue);
}

.nav-item.active {
    color: var(--text-light);
    font-weight: 500;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--light-bg);
}

/* 顶部工具栏 */
.top-bar {
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px 8px 40px;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.user-actions {
    display: flex;
    align-items: center;
}

.notification {
    position: relative;
    margin-right: 25px;
    font-size: 18px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.2s;
}

.notification:hover {
    color: var(--secondary-blue);
}

/* .notification::after {
    content: "3";
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.2s;
}

.user-profile:hover {
    background: var(--light-bg);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.username {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 内容区域 */
.content-area {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
    background: var(--light-bg);
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.section-title i {
    margin-right: 10px;
}

/* 评论管理模块 */
.comment-management {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* 筛选工具栏 */
.filter-toolbar {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.filter-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-buttons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--secondary-blue);
    color: white;
}

.btn-primary:hover {
    background: #2563EB;
}

.btn-outline {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--light-bg);
}

/* 评论列表 */
.comment-list-container {
    padding: 0;
}

.comment-list-header {
    display: grid;
    grid-template-columns: 1fr 2fr 120px 120px 150px;
    padding: 15px 20px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}
#commentList{
	height:475px;
}
.comment-item {
    display: grid;
    grid-template-columns: 1fr 2fr 120px 120px 150px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.comment-item:hover {
    background: #f8fafc;
}

.comment-user {
    display: flex;
    align-items: center;
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.user-id {
    font-size: 12px;
    color: var(--text-gray);
}

.comment-content {
    padding-right: 15px;
}

.comment-text {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.comment-video {
    font-size: 13px;
    color: var(--secondary-blue);
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.comment-video:hover {
    text-decoration: underline;
}

.comment-time {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.comment-time i {
    margin-right: 5px;
}

.comment-status {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.status-normal {
    background: #D1FAE5;
    color: #065F46;
}

.status-deleted {
    background: #FEE2E2;
    color: #B91C1C;
}

.comment-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    min-width: 70px;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #2563EB;
}

.action-btn.delete {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--danger);
}

.action-btn.delete:hover {
    background: #FEE2E2;
    border-color: var(--danger);
}

.action-btn.block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--warning);
}

.action-btn.block:hover {
    background: #FEF3C7;
    border-color: var(--warning);
}

/* 回复框 */
.reply-box {
    margin-top: 15px;
    padding: 15px;
    background: #F9FAFB;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: none;
}

.reply-box textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-height: 80px;
    font-size: 14px;
    margin-bottom: 10px;
    resize: vertical;
}

.reply-box textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.reply-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.pagination button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 6px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover,
.pagination button.active {
    background: var(--secondary-blue);
    color: white;
    border-color: var(--secondary-blue);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 空状态 */
.empty-state {
    padding: 50px 20px;
    text-align: center;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #CBD5E1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
    }

    .nav-item span {
        display: none;
    }

    .nav-item i {
        margin-right: 0;
        font-size: 20px;
    }

    .logo-text {
        display: none;
    }

    .comment-list-header {
        display: none;
    }

    .comment-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .comment-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .filter-toolbar {
        flex-direction: column;
    }

    .filter-buttons {
        align-self: flex-start;
        margin-top: 10px;
    }
}



#prompt{
	height: 60px;
	background-color: black;
	position: fixed;
	top: -60px;
	left: 760px;
	margin: auto;
	border-radius: 6px;
	color: white;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	padding: 15px;
	z-index: 10000;
}